package com.shyroke.daydayzhuanapi.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@Entity
@Table(name = "news")
public class NewsEntity extends BaseEntity implements Serializable {

    private String content;

    private Date date;

    private Integer isRead;

    private String type;

    private Integer userId;

}